package com.yt.product.models.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;

/**
 * 客户详情VO
 *
 * @author chen
 * @Date 2025-09-04 15:30:39
 */
@Data
public class CustomerInfoVO implements Serializable {
    @ApiModelProperty(value = "客户唯一标识ID")
    private Long id;
    @ApiModelProperty(value = "乐观锁控制")
    private Integer revision;
    @ApiModelProperty(value = "客户类型：0-个人客户，1-企业客户")
    private String type;
    @ApiModelProperty(value = "客户姓名/企业名称")
    private String customerName;
    @ApiModelProperty(value = "客户详细地址")
    private String address;
    @ApiModelProperty(value = "客户联系电话")
    private String phone;
    @ApiModelProperty(value = "客户状态：0-禁用，1-正常")
    private Integer status;
    @ApiModelProperty(value = "逻辑删除标识：0-未删除，1-已删除")
    private Integer isDel;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
